<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="html5uploader.css"/>
<script type="text/javascript" src="jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="html5uploader.js"></script>
<style type="text/css">
</style>
<script type="text/javascript">
$(function(){
    $('#upload').html5uploader({
        auto:true,
        multi:false,
		basePath:'/Scripts/h5uploader/',
		savePath:'/Upload/Files/'
        url:'Upload.ashx',
        onUploadStart:function(){
            console.log('开始上传');
		},
        onInit:function(){
            console.log('初始化');
		},
        onUploadComplete:function(){
            console.log('上传完成');
		}
        });
    });
</script>
</head>
 
<body>
<div id="upload"></div>
</body>
</html>